package br.ufrj.dcc.tp.servidor.log;

import java.io.OutputStreamWriter;

import br.ufrj.dcc.tp.servidor.interfaces.ILogStream;

public class ConsoleLogStream extends OutputStreamWriter implements ILogStream {
	
	public ConsoleLogStream() {
		super(System.out);
	}

	public void log(String s) throws Exception {
		super.write(s);
	}
	
	@Override
	public void flushLog() throws Exception {
		super.flush();
	}
}
